Optimal. Leaf size=399 \[ \frac{2 b^2 B (c+d x)^3 \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )}{9 g^4 (a+b x)^3 (b c-a d)^3}-\frac{2 B d^3 \log \left (\frac{c+d x}{a+b x}\right ) \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )}{3 b g^4 (b c-a d)^3}+\frac{2 B d^2 (c+d x) \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )}{g^4 (a+b x) (b c-a d)^3}-\frac{b B d (c+d x)^2 \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )}{g^4 (a+b x)^2 (b c-a d)^3}-\frac{\left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )^2}{3 b g^4 (a+b x)^3}-\frac{2 b^2 B^2 (c+d x)^3}{27 g^4 (a+b x)^3 (b c-a d)^3}-\frac{2 B^2 d^2 (c+d x)}{g^4 (a+b x) (b c-a d)^3}+\frac{B^2 d^3 \log ^2\left (\frac{c+d x}{a+b x}\right )}{3 b g^4 (b c-a d)^3}+\frac{b B^2 d (c+d x)^2}{2 g^4 (a+b x)^2 (b c-a d)^3} \]
[Out]
________________________________________________________________________________________
Rubi [C] time = 1.07406, antiderivative size = 680, normalized size of antiderivative = 1.7, number of steps used = 34, number of rules used = 11, integrand size = 32, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.344, Rules used = {2525, 12, 2528, 44, 2524, 2418, 2390, 2301, 2394, 2393, 2391} \[ -\frac{2 B^2 d^3 \text{PolyLog}\left (2,-\frac{d (a+b x)}{b c-a d}\right )}{3 b g^4 (b c-a d)^3}-\frac{2 B^2 d^3 \text{PolyLog}\left (2,\frac{b (c+d x)}{b c-a d}\right )}{3 b g^4 (b c-a d)^3}+\frac{2 B d^3 \log (a+b x) \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )}{3 b g^4 (b c-a d)^3}-\frac{2 B d^3 \log (c+d x) \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )}{3 b g^4 (b c-a d)^3}+\frac{2 B d^2 \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )}{3 b g^4 (a+b x) (b c-a d)^2}-\frac{B d \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )}{3 b g^4 (a+b x)^2 (b c-a d)}-\frac{\left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )^2}{3 b g^4 (a+b x)^3}+\frac{2 B \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )}{9 b g^4 (a+b x)^3}-\frac{11 B^2 d^2}{9 b g^4 (a+b x) (b c-a d)^2}+\frac{B^2 d^3 \log ^2(a+b x)}{3 b g^4 (b c-a d)^3}+\frac{B^2 d^3 \log ^2(c+d x)}{3 b g^4 (b c-a d)^3}-\frac{11 B^2 d^3 \log (a+b x)}{9 b g^4 (b c-a d)^3}-\frac{2 B^2 d^3 \log (c+d x) \log \left (-\frac{d (a+b x)}{b c-a d}\right )}{3 b g^4 (b c-a d)^3}+\frac{11 B^2 d^3 \log (c+d x)}{9 b g^4 (b c-a d)^3}-\frac{2 B^2 d^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{3 b g^4 (b c-a d)^3}+\frac{5 B^2 d}{18 b g^4 (a+b x)^2 (b c-a d)}-\frac{2 B^2}{27 b g^4 (a+b x)^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2525
Rule 12
Rule 2528
Rule 44
Rule 2524
Rule 2418
Rule 2390
Rule 2301
Rule 2394
Rule 2393
Rule 2391
Rubi steps
\begin{align*} \int \frac{\left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )^2}{(a g+b g x)^4} \, dx &=-\frac{\left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )^2}{3 b g^4 (a+b x)^3}+\frac{(2 B) \int \frac{(b c-a d) \left (-A-B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{g^3 (a+b x)^4 (c+d x)} \, dx}{3 b g}\\ &=-\frac{\left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )^2}{3 b g^4 (a+b x)^3}+\frac{(2 B (b c-a d)) \int \frac{-A-B \log \left (\frac{e (c+d x)}{a+b x}\right )}{(a+b x)^4 (c+d x)} \, dx}{3 b g^4}\\ &=-\frac{\left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )^2}{3 b g^4 (a+b x)^3}+\frac{(2 B (b c-a d)) \int \left (\frac{b \left (-A-B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{(b c-a d) (a+b x)^4}-\frac{b d \left (-A-B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{(b c-a d)^2 (a+b x)^3}+\frac{b d^2 \left (-A-B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{(b c-a d)^3 (a+b x)^2}-\frac{b d^3 \left (-A-B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{(b c-a d)^4 (a+b x)}+\frac{d^4 \left (-A-B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{(b c-a d)^4 (c+d x)}\right ) \, dx}{3 b g^4}\\ &=-\frac{\left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )^2}{3 b g^4 (a+b x)^3}+\frac{(2 B) \int \frac{-A-B \log \left (\frac{e (c+d x)}{a+b x}\right )}{(a+b x)^4} \, dx}{3 g^4}-\frac{\left (2 B d^3\right ) \int \frac{-A-B \log \left (\frac{e (c+d x)}{a+b x}\right )}{a+b x} \, dx}{3 (b c-a d)^3 g^4}+\frac{\left (2 B d^4\right ) \int \frac{-A-B \log \left (\frac{e (c+d x)}{a+b x}\right )}{c+d x} \, dx}{3 b (b c-a d)^3 g^4}+\frac{\left (2 B d^2\right ) \int \frac{-A-B \log \left (\frac{e (c+d x)}{a+b x}\right )}{(a+b x)^2} \, dx}{3 (b c-a d)^2 g^4}-\frac{(2 B d) \int \frac{-A-B \log \left (\frac{e (c+d x)}{a+b x}\right )}{(a+b x)^3} \, dx}{3 (b c-a d) g^4}\\ &=\frac{2 B \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{9 b g^4 (a+b x)^3}-\frac{B d \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d) g^4 (a+b x)^2}+\frac{2 B d^2 \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^2 g^4 (a+b x)}+\frac{2 B d^3 \log (a+b x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{2 B d^3 \log (c+d x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{\left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )^2}{3 b g^4 (a+b x)^3}-\frac{\left (2 B^2\right ) \int \frac{-b c+a d}{(a+b x)^4 (c+d x)} \, dx}{9 b g^4}-\frac{\left (2 B^2 d^3\right ) \int \frac{(a+b x) \left (\frac{d e}{a+b x}-\frac{b e (c+d x)}{(a+b x)^2}\right ) \log (a+b x)}{e (c+d x)} \, dx}{3 b (b c-a d)^3 g^4}+\frac{\left (2 B^2 d^3\right ) \int \frac{(a+b x) \left (\frac{d e}{a+b x}-\frac{b e (c+d x)}{(a+b x)^2}\right ) \log (c+d x)}{e (c+d x)} \, dx}{3 b (b c-a d)^3 g^4}-\frac{\left (2 B^2 d^2\right ) \int \frac{-b c+a d}{(a+b x)^2 (c+d x)} \, dx}{3 b (b c-a d)^2 g^4}+\frac{\left (B^2 d\right ) \int \frac{-b c+a d}{(a+b x)^3 (c+d x)} \, dx}{3 b (b c-a d) g^4}\\ &=\frac{2 B \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{9 b g^4 (a+b x)^3}-\frac{B d \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d) g^4 (a+b x)^2}+\frac{2 B d^2 \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^2 g^4 (a+b x)}+\frac{2 B d^3 \log (a+b x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{2 B d^3 \log (c+d x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{\left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )^2}{3 b g^4 (a+b x)^3}-\frac{\left (B^2 d\right ) \int \frac{1}{(a+b x)^3 (c+d x)} \, dx}{3 b g^4}+\frac{\left (2 B^2 d^2\right ) \int \frac{1}{(a+b x)^2 (c+d x)} \, dx}{3 b (b c-a d) g^4}+\frac{\left (2 B^2 (b c-a d)\right ) \int \frac{1}{(a+b x)^4 (c+d x)} \, dx}{9 b g^4}-\frac{\left (2 B^2 d^3\right ) \int \frac{(a+b x) \left (\frac{d e}{a+b x}-\frac{b e (c+d x)}{(a+b x)^2}\right ) \log (a+b x)}{c+d x} \, dx}{3 b (b c-a d)^3 e g^4}+\frac{\left (2 B^2 d^3\right ) \int \frac{(a+b x) \left (\frac{d e}{a+b x}-\frac{b e (c+d x)}{(a+b x)^2}\right ) \log (c+d x)}{c+d x} \, dx}{3 b (b c-a d)^3 e g^4}\\ &=\frac{2 B \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{9 b g^4 (a+b x)^3}-\frac{B d \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d) g^4 (a+b x)^2}+\frac{2 B d^2 \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^2 g^4 (a+b x)}+\frac{2 B d^3 \log (a+b x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{2 B d^3 \log (c+d x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{\left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )^2}{3 b g^4 (a+b x)^3}-\frac{\left (B^2 d\right ) \int \left (\frac{b}{(b c-a d) (a+b x)^3}-\frac{b d}{(b c-a d)^2 (a+b x)^2}+\frac{b d^2}{(b c-a d)^3 (a+b x)}-\frac{d^3}{(b c-a d)^3 (c+d x)}\right ) \, dx}{3 b g^4}+\frac{\left (2 B^2 d^2\right ) \int \left (\frac{b}{(b c-a d) (a+b x)^2}-\frac{b d}{(b c-a d)^2 (a+b x)}+\frac{d^2}{(b c-a d)^2 (c+d x)}\right ) \, dx}{3 b (b c-a d) g^4}+\frac{\left (2 B^2 (b c-a d)\right ) \int \left (\frac{b}{(b c-a d) (a+b x)^4}-\frac{b d}{(b c-a d)^2 (a+b x)^3}+\frac{b d^2}{(b c-a d)^3 (a+b x)^2}-\frac{b d^3}{(b c-a d)^4 (a+b x)}+\frac{d^4}{(b c-a d)^4 (c+d x)}\right ) \, dx}{9 b g^4}-\frac{\left (2 B^2 d^3\right ) \int \left (-\frac{b e \log (a+b x)}{a+b x}+\frac{d e \log (a+b x)}{c+d x}\right ) \, dx}{3 b (b c-a d)^3 e g^4}+\frac{\left (2 B^2 d^3\right ) \int \left (-\frac{b e \log (c+d x)}{a+b x}+\frac{d e \log (c+d x)}{c+d x}\right ) \, dx}{3 b (b c-a d)^3 e g^4}\\ &=-\frac{2 B^2}{27 b g^4 (a+b x)^3}+\frac{5 B^2 d}{18 b (b c-a d) g^4 (a+b x)^2}-\frac{11 B^2 d^2}{9 b (b c-a d)^2 g^4 (a+b x)}-\frac{11 B^2 d^3 \log (a+b x)}{9 b (b c-a d)^3 g^4}+\frac{11 B^2 d^3 \log (c+d x)}{9 b (b c-a d)^3 g^4}+\frac{2 B \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{9 b g^4 (a+b x)^3}-\frac{B d \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d) g^4 (a+b x)^2}+\frac{2 B d^2 \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^2 g^4 (a+b x)}+\frac{2 B d^3 \log (a+b x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{2 B d^3 \log (c+d x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{\left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )^2}{3 b g^4 (a+b x)^3}+\frac{\left (2 B^2 d^3\right ) \int \frac{\log (a+b x)}{a+b x} \, dx}{3 (b c-a d)^3 g^4}-\frac{\left (2 B^2 d^3\right ) \int \frac{\log (c+d x)}{a+b x} \, dx}{3 (b c-a d)^3 g^4}-\frac{\left (2 B^2 d^4\right ) \int \frac{\log (a+b x)}{c+d x} \, dx}{3 b (b c-a d)^3 g^4}+\frac{\left (2 B^2 d^4\right ) \int \frac{\log (c+d x)}{c+d x} \, dx}{3 b (b c-a d)^3 g^4}\\ &=-\frac{2 B^2}{27 b g^4 (a+b x)^3}+\frac{5 B^2 d}{18 b (b c-a d) g^4 (a+b x)^2}-\frac{11 B^2 d^2}{9 b (b c-a d)^2 g^4 (a+b x)}-\frac{11 B^2 d^3 \log (a+b x)}{9 b (b c-a d)^3 g^4}+\frac{11 B^2 d^3 \log (c+d x)}{9 b (b c-a d)^3 g^4}-\frac{2 B^2 d^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{3 b (b c-a d)^3 g^4}-\frac{2 B^2 d^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{3 b (b c-a d)^3 g^4}+\frac{2 B \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{9 b g^4 (a+b x)^3}-\frac{B d \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d) g^4 (a+b x)^2}+\frac{2 B d^2 \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^2 g^4 (a+b x)}+\frac{2 B d^3 \log (a+b x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{2 B d^3 \log (c+d x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{\left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )^2}{3 b g^4 (a+b x)^3}+\frac{\left (2 B^2 d^3\right ) \int \frac{\log \left (\frac{b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{3 (b c-a d)^3 g^4}+\frac{\left (2 B^2 d^3\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,a+b x\right )}{3 b (b c-a d)^3 g^4}+\frac{\left (2 B^2 d^3\right ) \operatorname{Subst}\left (\int \frac{\log (x)}{x} \, dx,x,c+d x\right )}{3 b (b c-a d)^3 g^4}+\frac{\left (2 B^2 d^4\right ) \int \frac{\log \left (\frac{d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{3 b (b c-a d)^3 g^4}\\ &=-\frac{2 B^2}{27 b g^4 (a+b x)^3}+\frac{5 B^2 d}{18 b (b c-a d) g^4 (a+b x)^2}-\frac{11 B^2 d^2}{9 b (b c-a d)^2 g^4 (a+b x)}-\frac{11 B^2 d^3 \log (a+b x)}{9 b (b c-a d)^3 g^4}+\frac{B^2 d^3 \log ^2(a+b x)}{3 b (b c-a d)^3 g^4}+\frac{11 B^2 d^3 \log (c+d x)}{9 b (b c-a d)^3 g^4}-\frac{2 B^2 d^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{3 b (b c-a d)^3 g^4}+\frac{B^2 d^3 \log ^2(c+d x)}{3 b (b c-a d)^3 g^4}-\frac{2 B^2 d^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{3 b (b c-a d)^3 g^4}+\frac{2 B \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{9 b g^4 (a+b x)^3}-\frac{B d \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d) g^4 (a+b x)^2}+\frac{2 B d^2 \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^2 g^4 (a+b x)}+\frac{2 B d^3 \log (a+b x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{2 B d^3 \log (c+d x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{\left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )^2}{3 b g^4 (a+b x)^3}+\frac{\left (2 B^2 d^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{3 b (b c-a d)^3 g^4}+\frac{\left (2 B^2 d^3\right ) \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{3 b (b c-a d)^3 g^4}\\ &=-\frac{2 B^2}{27 b g^4 (a+b x)^3}+\frac{5 B^2 d}{18 b (b c-a d) g^4 (a+b x)^2}-\frac{11 B^2 d^2}{9 b (b c-a d)^2 g^4 (a+b x)}-\frac{11 B^2 d^3 \log (a+b x)}{9 b (b c-a d)^3 g^4}+\frac{B^2 d^3 \log ^2(a+b x)}{3 b (b c-a d)^3 g^4}+\frac{11 B^2 d^3 \log (c+d x)}{9 b (b c-a d)^3 g^4}-\frac{2 B^2 d^3 \log \left (-\frac{d (a+b x)}{b c-a d}\right ) \log (c+d x)}{3 b (b c-a d)^3 g^4}+\frac{B^2 d^3 \log ^2(c+d x)}{3 b (b c-a d)^3 g^4}-\frac{2 B^2 d^3 \log (a+b x) \log \left (\frac{b (c+d x)}{b c-a d}\right )}{3 b (b c-a d)^3 g^4}+\frac{2 B \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{9 b g^4 (a+b x)^3}-\frac{B d \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d) g^4 (a+b x)^2}+\frac{2 B d^2 \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^2 g^4 (a+b x)}+\frac{2 B d^3 \log (a+b x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{2 B d^3 \log (c+d x) \left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )}{3 b (b c-a d)^3 g^4}-\frac{\left (A+B \log \left (\frac{e (c+d x)}{a+b x}\right )\right )^2}{3 b g^4 (a+b x)^3}-\frac{2 B^2 d^3 \text{Li}_2\left (-\frac{d (a+b x)}{b c-a d}\right )}{3 b (b c-a d)^3 g^4}-\frac{2 B^2 d^3 \text{Li}_2\left (\frac{b (c+d x)}{b c-a d}\right )}{3 b (b c-a d)^3 g^4}\\ \end{align*}
Mathematica [C] time = 0.790161, size = 585, normalized size = 1.47 \[ -\frac{\frac{B \left (-18 B d^3 (a+b x)^3 \left (\log (a+b x) \left (\log (a+b x)-2 \log \left (\frac{b (c+d x)}{b c-a d}\right )\right )-2 \text{PolyLog}\left (2,\frac{d (a+b x)}{a d-b c}\right )\right )+18 B d^3 (a+b x)^3 \left (2 \text{PolyLog}\left (2,\frac{b (c+d x)}{b c-a d}\right )+\log (c+d x) \left (2 \log \left (\frac{d (a+b x)}{a d-b c}\right )-\log (c+d x)\right )\right )+36 d^2 (a+b x)^2 (a d-b c) \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )-36 d^3 (a+b x)^3 \log (a+b x) \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )+36 d^3 (a+b x)^3 \log (c+d x) \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )-12 (b c-a d)^3 \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )+18 d (a+b x) (b c-a d)^2 \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )+36 B d^2 (a+b x)^2 (-d (a+b x) \log (c+d x)+d (a+b x) \log (a+b x)-a d+b c)-9 B d (a+b x) \left (2 d^2 (a+b x)^2 \log (c+d x)+2 d (a+b x) (a d-b c)+(b c-a d)^2-2 d^2 (a+b x)^2 \log (a+b x)\right )+2 B \left (6 d^2 (a+b x)^2 (b c-a d)-6 d^3 (a+b x)^3 \log (c+d x)-3 d (a+b x) (b c-a d)^2+2 (b c-a d)^3+6 d^3 (a+b x)^3 \log (a+b x)\right )\right )}{(b c-a d)^3}+18 \left (B \log \left (\frac{e (c+d x)}{a+b x}\right )+A\right )^2}{54 b g^4 (a+b x)^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.055, size = 2758, normalized size = 6.9 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.78074, size = 1917, normalized size = 4.8 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.30216, size = 1388, normalized size = 3.48 \begin{align*} -\frac{2 \,{\left (9 \, A^{2} - 6 \, A B + 2 \, B^{2}\right )} b^{3} c^{3} - 27 \,{\left (2 \, A^{2} - 2 \, A B + B^{2}\right )} a b^{2} c^{2} d + 54 \,{\left (A^{2} - 2 \, A B + 2 \, B^{2}\right )} a^{2} b c d^{2} -{\left (18 \, A^{2} - 66 \, A B + 85 \, B^{2}\right )} a^{3} d^{3} - 6 \,{\left ({\left (6 \, A B - 11 \, B^{2}\right )} b^{3} c d^{2} -{\left (6 \, A B - 11 \, B^{2}\right )} a b^{2} d^{3}\right )} x^{2} + 18 \,{\left (B^{2} b^{3} d^{3} x^{3} + 3 \, B^{2} a b^{2} d^{3} x^{2} + 3 \, B^{2} a^{2} b d^{3} x + B^{2} b^{3} c^{3} - 3 \, B^{2} a b^{2} c^{2} d + 3 \, B^{2} a^{2} b c d^{2}\right )} \log \left (\frac{d e x + c e}{b x + a}\right )^{2} + 3 \,{\left ({\left (6 \, A B - 5 \, B^{2}\right )} b^{3} c^{2} d - 18 \,{\left (2 \, A B - 3 \, B^{2}\right )} a b^{2} c d^{2} +{\left (30 \, A B - 49 \, B^{2}\right )} a^{2} b d^{3}\right )} x + 6 \,{\left ({\left (6 \, A B - 11 \, B^{2}\right )} b^{3} d^{3} x^{3} + 2 \,{\left (3 \, A B - B^{2}\right )} b^{3} c^{3} - 9 \,{\left (2 \, A B - B^{2}\right )} a b^{2} c^{2} d + 18 \,{\left (A B - B^{2}\right )} a^{2} b c d^{2} - 3 \,{\left (2 \, B^{2} b^{3} c d^{2} - 3 \,{\left (2 \, A B - 3 \, B^{2}\right )} a b^{2} d^{3}\right )} x^{2} + 3 \,{\left (B^{2} b^{3} c^{2} d - 6 \, B^{2} a b^{2} c d^{2} + 6 \,{\left (A B - B^{2}\right )} a^{2} b d^{3}\right )} x\right )} \log \left (\frac{d e x + c e}{b x + a}\right )}{54 \,{\left ({\left (b^{7} c^{3} - 3 \, a b^{6} c^{2} d + 3 \, a^{2} b^{5} c d^{2} - a^{3} b^{4} d^{3}\right )} g^{4} x^{3} + 3 \,{\left (a b^{6} c^{3} - 3 \, a^{2} b^{5} c^{2} d + 3 \, a^{3} b^{4} c d^{2} - a^{4} b^{3} d^{3}\right )} g^{4} x^{2} + 3 \,{\left (a^{2} b^{5} c^{3} - 3 \, a^{3} b^{4} c^{2} d + 3 \, a^{4} b^{3} c d^{2} - a^{5} b^{2} d^{3}\right )} g^{4} x +{\left (a^{3} b^{4} c^{3} - 3 \, a^{4} b^{3} c^{2} d + 3 \, a^{5} b^{2} c d^{2} - a^{6} b d^{3}\right )} g^{4}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 34.789, size = 1544, normalized size = 3.87 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B \log \left (\frac{{\left (d x + c\right )} e}{b x + a}\right ) + A\right )}^{2}}{{\left (b g x + a g\right )}^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]